<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>订单详情</title>
  <link rel="stylesheet" href="/css/bootstrap.css" th:href="@{/css/bootstrap.css}"/>
</head>
<body class="container">
<h1>订单详情</h1>
<br><br>
<div class="with:80%">
  <table class="table table-hover">
    <thead>
    <tr>
      <th>订单编号</th>
      <th th:text="${indentview.id}"></th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>房屋地址</th>
      <th th:text="${indentview.address}"></th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>房屋图片</th>
      <th><img th:src="${indentview.picture}" width="100" height="100"> </th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>房屋描述</th>
      <th th:text="${indentview.content}"></th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>房屋价格</th>
      <th th:text="${indentview.price}"></th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>订单开始时间</th>
      <th th:text="${#dates.format(indentview.begintime,'yyyy-MM-dd')}"></th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>订单结束时间</th>
      <th th:text="${#dates.format(indentview.endtime,'yyyy-MM-dd')}"></th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>租房人</th>
      <th th:text="${indentview.username}"></th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>房东</th>
      <th th:text="${indentview.landlord_username}"></th>
    </tr>
    </thead>
    <thead>
    <tr>
      <th>支付状态</th>
      <th th:text="${indentview.pay_status}"></th>
    </tr>
    </thead>
  </table>
</div>
<div class="form-group">
  <div class="col-sm-2 control-label" >
    <a th:href="@{/user/userHomePage(username=${indentview.username})}" class="btn btn-info">返回</a>
  </div>
</div>
</body>
</html>